@import url("bar.css");
/* ---------------------------------- spolecne deklarace ------------------------------- */

body {
	font-family: bitstream vera sans mono, monospace, courier new, verdana, sans serif;
	font-size: small;
	padding: 0px;
	margin: 0px;
	_font-size: x-small;
	background: url('foo') fixed; /* ie hack */
}

#root {
	background-image: url("../images/back.gif");
}

#bar {
	background-color: #ccc;
	position: fixed;
	_position: absolute;
	_top:expression(eval(document.body.scrollTop));
	_left:expression(eval(document.body.scrollLeft));
}

#shadow {
	background-image: url("../images/shadow.png");
	width: 100%;
	height: 8px;
	position: relative;
	_background-image: none;
}

#map {
	position: fixed;
	right: 0px;
	bottom: 0px;
	_position:absolute;
    _left:expression(eval(document.body.scrollLeft)+eval(document.body.clientWidth)-map.offsetWidth);
    _top:expression(eval(document.body.scrollTop)+eval(document.body.clientHeight)-map.offsetHeight);
	background-color: #fff;
	border: 1px solid #000;
}

#map_ {
	border: 2px solid #f00;
	width: 0px;
	height: 0px;
	font-size: 1px;
	position: absolute;
}

#queryExec {
	position: fixed;
	left: 0px;
	bottom: 0px;
	width: 75%;
	height: 18px;
	_position:absolute;
    _left:expression(eval(document.body.scrollLeft)+eval(document.body.clientWidth)-map.offsetWidth);
    _top:expression(eval(document.body.scrollTop)+eval(document.body.clientHeight)-map.offsetHeight);
	background-color: #fff;
	border: 1px solid #000;
}

#queryExecConsole {
	 position: absolute;
	 width: 100%;
	 height: 100%;
}

#queryExecTitle {
	 position: absolute;
	 bottom: 0;
	 text-align: center;
	 width: 100%;
}

#queryExecResults {
	 overflow: auto;
	 width: 99%;
	 height: 258px;
	 padding-left: 3px;
}

#queryExecResults table tr td {
	font-size: 0.65em;
	font: Fixedsys;
}

h4 {
	margin: 0px;
	padding: 3px 0px 3px 0px;
	font-size: 0.85em;
}

.oddRow {
	background-color: #eee;
}

#queryExecPrompt {
	 position: absolute;
	 bottom: 18;
	 width: 100%;
}

#queryExecPrompt {
	 position: absolute;
	 bottom: 20;
	 border: none;
	 border-top: 1px solid black;
	 border-bottom: 1px solid black;
	 width: 100%;
	 margin: 0px;
	 padding: 2px 3px 2px 4px;
	 background-color: #eee;
	 color: #555;
}

/* ---------------------------------- elementy na plose ------------------------------- */

.table {
	position: absolute;
	_height: 20px;
	min-height: 20px;
	border: 1px solid #000;
	background-color: #ddd;
}

.table_selected {
	border: 2px solid #000;
}

.table_title {
	text-align: center;
	position: absolute;
	left: 0px;
	top: 1px;
	width: 100%;
	background-color: #ddd;
}

.rows {
	margin-top: 20px;
}

.row {
	padding-left: 3px;
	padding-top: 2px;
/*	height: 20px; */
	border-top: 1px dotted #888;
	overflow: hidden;
}

.row .sipka {
	display: none;
	float: left;
	color: #f00;
	font-weight: bold;
}

.row_selected {
}

.row_selected .sipka {
	display: inline;
}

.row_title {
	text-align: left;
}

.row .special {
	float: right;
	margin-right: 2px;
}

.mini {
	border: 1px solid #000;
	background-color: #eea;
	position: absolute;
	font-size: 1px
}

.shadow_right {
	background-image: url("../images/shadow_right.png");
	width: 8px;
	height: 100%;
	position: absolute;
	right: -9px;
	top: 1px;
	_background-image: none;
}

.shadow_bottom {
	background-image: url("../images/shadow_bottom.png");
	width: 100%;
	height: 8px;
	position: absolute;
	bottom: -9px;
	left: 1px;
	_background-image: none;
}

.shadow_corner {
	background-image: url("../images/shadow_corner.png");
	width: 8px;
	height: 8px;
	position: absolute;
	right: -9px;
	bottom: -9px;
	_background-image: none;
}

.relation div {
	background-color: #000;
	position: absolute;
	font-size: 1px;
	line-height: 0px;
}


#io {
	display: none;
	position: fixed;
	left: 20px;
	top: 20px;
	width: 300px;
	height: 300px;
	z-index: 100;
	background-color: #fff;
	border: 2px solid #000;

	_position: absolute;
	_top:expression(eval(document.body.scrollTop)+20);
	_left:expression(eval(document.body.scrollLeft)+20);
}

#area {
	position: absolute;
	left: 20px;
	top: 8px;
	width: 260px;
	height: 260px;
	margin: auto;
	font-size: xx-small;
}

#io #close {
	position: absolute;
	left: 200px;
	top: 270px;
}

#io #import {
	position: absolute;
	display: none;
	left: 40px;
	top: 270px;
}
